package com.li.designpattern.observer;

public class Test {
	public static void main(String[] args) {
		Subject subject=new Subject();
		new Observer1(subject);
		new Observer2(subject);
		
		subject.setState("hehe");
	}
}
